<<<<<<< Updated upstream
package src.week04;

public class RCache extends Jedis implements CacheInterface{
    private Jedis js;
    public RCache(Jedis js){
        this.js=js;
    }
    public void read(){
        super.readJedis();
    }
    public void write(){
        super.writeJedis();
    }
}
=======
package week04;

public class RCache implements CacheInterface{
    private Jedis jedis;// = new Jedis();
    public RCache(){
        this.jedis = new Jedis();
    }
    public RCache(Jedis jedis){
        this.jedis = jedis;
    }
    public void read(){
        jedis.readJedis();
    }
    public void write(){
        jedis.writeJedis();
    }
}
>>>>>>> Stashed changes
